package com.bestcem.xm.member.grpc.service.param.syncrule;

import lombok.Getter;
import lombok.Setter;

import javax.validation.Valid;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * 批量更新 同步规则 参数校验
 *
 * @author yf.wang <yf.wang@idiaoyan.com>
 * @version V1.0
 * @date 2021/9/18
 */

@Getter
@Setter
public class BatchUpdateSyncRuleParam {

    @Valid
    @Size(min = 1, message = "批量更新同步规则参数不能为空")
    private List<BatchUpdateSyncRule> rules;
}
